#ifndef __MONKEYEVENTCALLBACK_H__
#define __MONKEYEVENTCALLBACK_H__

#include <js/jsapi.h>
#include <string>

class MonkeyEventCallback
{
  private:
	std::string _eventName;
	JSContext	*_context;
	jsval		_callback;

  public:
	MonkeyEventCallback(std::string eventName, JSContext *context, jsval callback);

	const std::string getEventName();
	JSContext *getContext();
	jsval getCallback();
};

#endif /* __MONKEYEVENTCALLBACK_H__ */

